/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.enetities;

/**
 *
 * @author KimAnh
 */
public class News {
    private int idNews;
    private String title;
    private String contents;
    private int sumary;
    private boolean Actived;

    /**
     * @param title
     * @param contents
     * @param sumary
     * @param Actived
     * @return the title
     */
    public News(String title, String contents, int sumary, boolean Actived) {
        this.title = title;
        this.contents = contents;
        this.sumary = sumary;
        this.Actived = Actived;
    }

    

    public News() {
    }

    /**
     * @return the idNews
     */
    public int getIdNews() {
        return idNews;
    }

    /**
     * @param idNews the idNews to set
     */
    public void setIdNews(int idNews) {
        this.idNews = idNews;
    }

    /**
     * @return the title
     */
    public String getTitle() {
        return title;
    }

    /**
     * @param title the title to set
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * @return the contents
     */
    public String getContents() {
        return contents;
    }

    /**
     * @param contents the contents to set
     */
    public void setContents(String contents) {
        this.contents = contents;
    }

    /**
     * @return the sumary
     */
    public int getSumary() {
        return sumary;
    }

    /**
     * @param sumary the sumary to set
     */
    public void setSumary(int sumary) {
        this.sumary = sumary;
    }

    /**
     * @return the Actived
     */
    public boolean isActived() {
        return Actived;
    }

    /**
     * @param Actived the Actived to set
     */
    public void setActived(boolean Actived) {
        this.Actived = Actived;
    }

    

    /**
     * @return the idNews
     */

    
}
